package com.example.associationmanager.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class TableController {
    @GetMapping("/index")//系统主页面
    public Object index() {
        return "index.html";
    }
    @GetMapping({"/page/welcome","/page/welcome-1"})//由系统主页面加载的嵌套主页
    public Object welcome() { return "page/welcome-1.html"; }
    @GetMapping("/page/table")//社员信息页面
    public Object table() {
        return "page/table.html";
    }
    @GetMapping("/page/table_show")//社员信息页面(仅查看，无操作权限)
    public Object tableShow() {
        return "page/table_show.html";
    }
    @GetMapping("/page/table/add_people")//社员增加页面
    public Object addPeopleTable() { return "page/table/add_people.html"; }
    @GetMapping("/page/table/updatepeople")//社员信息更新页面
    public Object updatePeopleTable() {
        return "page/table/update_people.html";
    }

    @GetMapping("/page/table_community")//社团页面
    public Object CommunityTable() {
        return "page/table_community.html";
    }
    @GetMapping("/page/table/add_community")//添加社团页面
    public Object addCommunityTable() { return "page/table/add_community.html"; }
    @GetMapping("/page/table/updateCommunity")//社团信息更新页面
    public Object updateCommunityTable() {
        return "page/table/update_Community.html";
    }

    @GetMapping("/page/table_activity")//社团活动页面
    public Object ActivityTable() {
        return "page/table_activity.html";
    }
    @GetMapping("/page/table/add_activity")//社团活动添加页面
    public Object addActivityTable() { return "page/table/add_activity.html"; }

    @GetMapping("/page/table_funds")//经费页面
    public Object FundsTable() {
        return "page/table_funds.html";
    }
    @GetMapping("/page/table/add_funds")//经费申请页面
    public Object addFundsTable() { return "page/table/add_funds.html"; }

    @GetMapping("/page/setting")//系统设置
    public Object SettingTable() { return "page/setting.html"; }
    @GetMapping("/page/table_examine")//入社审批
    public Object ExamineTable() { return "page/table_examine.html"; }
    @GetMapping("/page/lable_property")//资产状况
    public Object PropertyLable() { return "page/lable_property.html"; }
    @GetMapping("/page/lable_brief")//社团简介
    public Object BriefLable() { return "page/lable_brief.html"; }

    @GetMapping("/page/user-setting")//账号修改
    public Object UserSettingLable() { return "page/user-setting.html"; }
    @GetMapping("/page/user-password")//密码修改
    public Object UserPasswordLable() { return "page/user-password.html"; }

    @GetMapping("/page/welcome-2")//社团信息数据
    public Object welcome2Lable() { return "page/welcome-2.html"; }
    @GetMapping("/page/table_user")//用户信息数据
    public Object UserTable() { return "page/table_user.html"; }
    @GetMapping("/page/table/add_user")//用户信息新增
    public Object AddUserTable() { return "page/table/add_user.html"; }
    @GetMapping("/page/table/update_user")//用户信息修改
    public Object uddateUserTable() { return "page/table/update_user.html"; }
    @GetMapping("/page/icon")//图标页面
    public Object GetIcon() { return "page/icon.html"; }
    @GetMapping("/page/table_finance")//经费查看与申请界面
    public Object fundsGetShow() { return "page/table_finance.html"; }
    @GetMapping("/page/table_activity_show")//活动查看与申请界面
    public Object activityGetShow() { return "page/table_activity_show.html"; }
    @GetMapping("/page/form_step_register")//用户注册页面
    public  Object registerPage() { return "page/form_step_register.html"; }
    @GetMapping("/page/table_community_show")//用户注册页面
    public  Object communityShowPage() { return "page/table_community_show"; }
    @GetMapping("/page/info_inform")//社团通知信息
    public  Object infoInformPage() { return "page/info_inform.html"; }




}
